<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

	<!-- Basic Page Needs
  ================================================== -->
	<meta charset="utf-8">
	<title>Leiningen</title>
	<meta name="description" content="Leiningen: automating Clojure projects">
	<meta name="author" content="Phil Hagelberg and contributors">

	<!-- Mobile Specific Metas
  ================================================== -->
	<meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">

	<!-- Favicons + Manifest
  ================================================== -->
  <link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png">
  <link rel="manifest" href="/img/favicon/manifest.json">
  <link rel="mask-icon" href="/img/favicon/safari-pinned-tab.svg" color="#000000">
  <link rel="shortcut icon" href="/img/favicon/favicon.ico">
  <meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
  <meta name="theme-color" content="#ffffff">

	<!-- CSS
  ================================================== -->
	<link rel="stylesheet" href="stylesheets/base.css">
	<link rel="stylesheet" href="stylesheets/skeleton.css">
	<link rel="stylesheet" href="stylesheets/layout.css">
    <link rel="stylesheet" href="stylesheets/htmlize.css">
	<link rel="stylesheet" href="stylesheets/lein.css">
</head>
<body>

  <div class="container">
    <div class="three columns offset-by-one">
      <img src="img/leiningen.jpg" title="logo" id="logo">
    </div>
	<div class="eight columns offset-by-two" id="title">
	  <h1 class="remove-bottom" style="margin-top: 40px">Leiningen</h1>
	  <h6>for automating Clojure projects without setting your hair on fire</h6>
      <nav id="links" class="offset-by-three">
        <a href="#install">install</a> |
        <a href="#docs">docs</a> |
        <a href="#community">community</a> |
        <a href="https://github.com/technomancy/leiningen">source</a>
      </nav>
    </div>

    <div class="sixteen columns"><hr /></div>

    <div class="one-third column">
      <p id="pitch">Leiningen is <strong>the easiest way to use
      <a href="https://clojure.org">Clojure</a></strong>. With a focus
      on project automation and declarative configuration, it gets out
      of your way and lets you focus on your code.</p>
    </div>
    <div class="two-thirds column">
    <pre class="htmlize" id="sample-project"><span class="esk-paren">(</span>defproject leiningen.org <span class="string">"1.0.0"</span>
  <span class="constant">:description</span> <span class="string">"Generate static HTML for https://leiningen.org"</span>
  <span class="constant">:dependencies</span> [[enlive <span class="string">"1.0.1"</span>]
                 [cheshire <span class="string">"4.0.0"</span>]
                 [org.markdownj/markdownj <span class="string">"0.3.0-1.0.2b4"</span>]]
  <span class="constant">:main</span> leiningen.web<span class="esk-paren">)</span></pre>
    </div>

    <div class="sixteen columns"><hr /></div>

	<div class="one-third column"><h3 class="offset-by-one">Install</h3></div>
    <div class="two-thirds column">
      <p>Leiningen and Clojure require Java; ideally OpenJDK.</p>
      <a name="install"></a>
      <ol>
        <li>Download the <a href="https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein"><kbd>lein</kbd>
        script</a> (or on
          Windows <a href="https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.bat"><kbd>lein.bat</kbd></a>)</li>
        <li>Place it on your <tt>$PATH</tt> where your shell can find it (eg. <tt>~/bin</tt>)</li>
        <li>Set it to be executable (<kbd>chmod a+x ~/bin/lein</kbd>)</li>
        <li>Run it (<kbd>lein</kbd>) and it will download the self-install package</li>
      </ol>

      <p>You can check
      your <a href="https://github.com/technomancy/leiningen/wiki/Packaging">package
      manager</a> as well depending on your operating system.</p>
	</div>

    <div class="sixteen columns"><hr /></div>

	<div class="one-third column" style="float: right">
      <h3 class="offset-by-one">Documentation</h3></div>

	<div class="two-thirds column">
      <a name="docs"></a>
	  <p>The <a href="https://github.com/technomancy/leiningen/blob/stable/doc/TUTORIAL.md">tutorial</a>
        is the best place to start. If you have Leiningen installed,
        you can read the tutorial by running <kbd>lein help
        tutorial</kbd>. It does not cover learning the
        language itself;
        good <a href="http://clojure-doc.org">Clojure
        documentation</a> can be found elsewhere.</p>


      <p>Running <kbd>lein help faq</kbd> will get you the
        <a href="https://github.com/technomancy/leiningen/blob/stable/doc/FAQ.md">FAQ</a>.
        Documentation for each individual task is available
        via <kbd>lein help $TASK</kbd>. You can also
        see <a href="https://github.com/technomancy/leiningen/blob/stable/sample.project.clj">the
        sample <tt>project.clj</tt> file</a> containing a reference of most
        project settings by running <kbd>lein help sample</kbd>.</p>

      <p>More:
        <a href="https://github.com/technomancy/leiningen/blob/stable/doc/PROFILES.md">profiles</a> |
        <a href="https://github.com/technomancy/leiningen/blob/stable/doc/DEPLOY.md">deploying libraries</a> |
        <a href="https://github.com/technomancy/leiningen/blob/stable/doc/PLUGINS.md">writing plugins</a> |
        <a href="https://github.com/technomancy/leiningen/wiki/Plugins">plugin list</a>
      </p>
	</div>

    <div class="sixteen columns"><hr /></div>

	<div class="one-third column"><h3 class="offset-by-one">Community</h3></div>
	<div class="two-thirds column">
      <a name="community"></a>
      <p>At the time of this writing Leiningen is the most
        widely-contributed-to Clojure project. We welcome potential
        contributors and do our best to make it easy to help out.</p>

      <p>Discussion occurs primarily <a href="irc://irc.libera.chat#leiningen">in
          the <tt>#leiningen</tt> channel on Libera.Chat</a>.</p>

      <p>Issues should
        be <a href="https://github.com/technomancy/leiningen/issues">reported
        on the GitHub issue tracker</a>.</p>
	</div>

    <div class="sixteen columns"><hr /></div>

    <div class="sixteen columns" id="footer">
        <p>&copy; 2012-2021 Phil Hagelberg
        and <a href="https://github.com/technomancy/leiningen/contributors">contributors</a>.
        Licensed under
        the <a href="https://github.com/technomancy/leiningen/blob/stable/COPYING">EPL
        1.0</a>. See the code
        for <a href="https://github.com/technomancy/leiningen/tree/master/web">this
        site</a>.</p>
    </div>
	</div><!-- container -->

<!-- End Document
================================================== -->
</body>
</html>
